package com.ruoyi.goods.domain;

import com.ruoyi.common.core.domain.BaseEntity;

// 品牌系列
public class BrandPerson extends BaseEntity {

    private int id;

    private String name;

    private String englishName;

    private String code;

    private int brandId;

    private int status;

    private int sort;

    private Brand brand;

    //是否是单独系列,0:否，1：是
    private int isSingle;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public Brand getBrand() {
        return brand;
    }

    public void setBrand(Brand brand) {
        this.brand = brand;
    }

    public int getIsSingle() {
        return isSingle;
    }

    public void setIsSingle(int isSingle) {
        this.isSingle = isSingle;
    }

    @Override
    public String toString() {
        return "BrandPerson{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", englishName='" + englishName + '\'' +
                ", code='" + code + '\'' +
                ", brandId=" + brandId +
                ", status=" + status +
                ", sort=" + sort +
                ", brand=" + brand +
                ", isSingle=" + isSingle +
                '}';
    }
}
